﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>Ecommerce</title>
    <link rel="shortcut icon" type="image/png" href="favicon.png">
    <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900%7CRoboto+Condensed:300,400,700" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/font-awesome.min.css">
    <link rel="stylesheet" href="assets/plugins/owl-carousel/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/plugins/Magnific-Popup/magnific-popup.css">
    <link rel="stylesheet" href="assets/plugins/animate-css/animate.min.css">
    <link rel="stylesheet" href="assets/plugins/swiper/swiper.min.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/responsive.css">
    <link rel="stylesheet" href="assets/css/custom.css">
</head>
<body>
    <!-- 引入头部的部分 -->
    <div th:include="/front/header"></div>

    <!-- 页面标题 -->
    <section class="page-title-inner" data-bg-img='assets/img/page-titlebg.png'>
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <!-- 页面标题内 -->
                    <div class="page-title-wrap">
                        <div class="page-title-heading"><h1 class="h2">单品<span>购物</span></h1></div>
                        <ul class="list-unstyled mb-0">
                            <li><a href="index.html">家</a></li>
                            <li><a href="#">店</a></li>
                            <li class="active"><a href="#">吉他</a></li>
                        </ul>
                    </div>
                    <!-- 结束页面标题内页 -->
                </div>
            </div>
        </div>
    </section>
    <!-- 页面标题结束 -->
    
    <!-- 产品包装细节 -->
    <section class="pt-100 pb-100">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-md-6">
                    <!-- 产品启动滑块 -->
                    <div class="shop-product-slider-wrap">
                        <!-- 开始铺顶侧滑块 -->
                         <div class="swiper-container product-gallery">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide">
                                    <img id="zoom_01" class='zoom' src="assets/img/shop/product-details.png" data-zoom-image="assets/img/shop/product-details.png" data-rjs="2" alt=""/>
                                </div>
                            </div>
                        </div>
                         <!-- 年底的滑块顶部侧-->
                        
                        <!-- 启动滑块底部侧 -->
                        <div class="swiper-container product-thumbs">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide">
                                    <img src="assets/img/shop/details-nav1.png" data-rjs="2" alt="">
                                </div>
                            </div>
                        </div>
                        <!-- 端面滑块底面 -->
                    </div>
                    <!-- 商店结束产品滑块 -->
                </div>

                <div class="col-md-6" th:each="g:${GoodsIdList}">
                    <!-- 产品详细信息内 -->
                    <div class="product-details-inner">
                        <!-- 产品信息 -->
                        <div class="product-info">

                            <!-- 产品标题 -->
                            <div class="product-title">
                                <h2 th:text="${g.goodsName}"></h2>
                            </div>
                            <!-- 产品名称结束 -->

                             <div class="product-price"><h3 class="new-price" th:text="${g.retailPrice}"></h3></div>

                             <div class="product-description">
                                 <p>女儿获得的夫人身份还是先生。先生，她对附近的运动感到高兴。连续不断的怀疑让您忽略了先生的好奇心。随后出现了新的前景不佳的前景。不安不安使自然变得恐惧。在可能的优点是养孩子。惯用的代码说怀疑条款，您忽略了先生的好奇心。随后出现了新的前景不佳的前景。</p>
                             </div>

                            <!-- 产品组列表 -->
                            <div class="list-product-group">
                                <ul class="mb-0 list-unstyled">
                                    <li class="size-group group">
                                        <span class="list-heading">尺寸:</span>
                                            <ul class="size-list mb-0 list-unstyled">
                                                <h4 th:text="${g.goodsSize.goodsSizeName}"></h4>
                                            </ul>
                                    </li>
                                    <li class="color-group group">
                                        <span class="list-heading">颜色:</span>
                                        <ul class="mb-0 list-unstyled">
                                          <h4 th:text="${g.goodsColor}"></h4>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                            <!-- End of list product group -->

                            <!-- product details btns -->
                            <div class="product-details-btns">
                                <div class="addto-bag-btn">
                                    <!--添加购物车-->

                                    <th:block th:if="${session.userinfo}!=null">
                                        <a th:href="@{/front/cart_add(goodsId=${g.goodsId},retailPrice=${g.retailPrice})}" class="btn btn-fill-type" onclick="return confirm('确定添加到购物车吗？')">
                                            <span><img src="assets/img/icons/add-bag.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0">添加到购物车</span>
                                        </a>
                                    </th:block>

                                    <th:block th:if="${session.userinfo}==null">
                                        <a class="btn btn-fill-type" onclick="return confirm('请登录')">
                                            <span><img src="assets/img/icons/add-bag.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0">添加到购物车</span>
                                        </a>
                                    </th:block>

                                </div>

                                <div class="wish-btn">
                                    <th:block th:if="${session.userinfo}!=null">
                                        <a th:href="@{/front/wishlist(goodsId=${g.goodsId})}" class="btn btn-fill-type" onclick="return confirm('确定添加到心愿单吗？')">
                                            <span class=""><img src="assets/img/icons/wishlist.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0">添加到心愿单</span>
                                        </a>
                                    </th:block>

                                    <th:block th:if="${session.userinfo}==null">
                                        <a  class="btn btn-fill-type" onclick="return confirm('请登录')">
                                            <span class=""><img src="assets/img/icons/wishlist.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0">添加到心愿单</span>
                                        </a>
                                    </th:block>
                                </div>
                                <div class="compare-btn">

                                </div>
                            </div>
                            <!-- product details btns -->

                            <!-- product mata -->
                            <!-- 成品mata -->

                            <!-- 产品份额 -->
                            <!-- 产品分享结束 -->
                        </div>
                         <!-- 产品信息结束 -->
                    </div>
                    <!-- 产品细节结束内页 -->
                </div>
            </div>
        </div>
    </section>
    <div th:include="/front/footer"></div>
    <!-- 页脚区域结束 -->
    
      <!-- 返回顶部 -->

        <!-- 模态快速视图-->
        <div class="modal-quickview-container">
            <div class="quick-view-content-wrap">
                <div class="modal-window-overlay"></div>
                <div class="quick-view-content">
                    <div class="modal-window-close">
                        <img src="assets/img/icons/close-button.svg" class="svg" alt="">
                    </div> 
                    <div class="quick-view-content-inner">
                        <div class="row align-items-center">
                            <div class="col-lg-7">
                               <!-- 产品启动滑块 -->
                                <div class="shop-product-slider-wrap">
                                     <!-- 开始铺顶侧滑块 -->
                                     <div class="swiper-container quick-product-gallery">
                                        <div class="swiper-wrapper">
                                            <div class="swiper-slide">
                                                <img class='' src="assets/img/shop/quick-view1.png" alt="" data-rjs="2" />
                                            </div>
                                            <div class="swiper-slide">
                                                <img class='' src="assets/img/shop/quick-view2.png"  alt="" data-rjs="2" />
                                            </div>
                                            <div class="swiper-slide">
                                                <img class='' src="assets/img/shop/quick-view3.png" alt="" data-rjs="2" />
                                            </div>
                                            <div class="swiper-slide">
                                                <img class='' src="assets/img/shop/quick-view4.png" alt="" data-rjs="2" />
                                            </div>
                                        </div>
                                    </div>
                                     <!-- 年底的滑块顶部侧 -->
                                    
                                     <!-- 启动滑块底部侧 -->
                                    <div class="swiper-container quick-product-thumbs">
                                        <div class="swiper-wrapper">
                                            <div class="swiper-slide">
                                                <img src="assets/img/shop/details-nav1.png" data-rjs="2" alt="">
                                            </div>
                                            <div class="swiper-slide">
                                                <img src="assets/img/shop/details-nav3.png" data-rjs="2" alt="">
                                            </div>
                                            <div class="swiper-slide">
                                                <img src="assets/img/shop/details-nav4.png" data-rjs="2" alt="">
                                            </div>
                                            <div class="swiper-slide">
                                                <img src="assets/img/shop/details-nav5.png" data-rjs="2" alt="">
                                            </div>
                                        </div>
                                    </div>
                                   <!-- 端面滑块底面 -->
                                </div>
                               <!-- 商店结束产品滑块 -->
                            </div>
    
                            <div class="col-lg-5">
                                 <!-- 产品详细信息内 -->
                            <div class="product-details-inner">
                                <!-- 产品信息 -->
                                <div class="product-info">
                                    <div class="product-rating">
                                        <div class="star-rating">
                                            <span></span>
                                        </div>
                                    </div>

                                    <!-- 产品标题 -->
                                    <div class="product-title">
                                        <h4><a href="shop-details.html">雅马哈木吉他</a></h4>
                                    </div>
                                    <!-- 产品名称结束 -->

                                     <div class="product-price"><h3 class="new-price">$25</h3><h5 class="old-price">$30.1</h5></div>

                                     <div class="product-description">
                                         <p>老板娘把把这位先生的女儿哄得很开心乐.</p>
                                     </div>

                                      <!-- 产品组列表 -->
                                    <div class="list-product-group">
                                        <ul class="mb-0 list-unstyled">
                                            <li class="size-group group">
                                                <span class="list-heading">尺寸:</span>
                                                <ul class="size-list mb-0 list-unstyled">
                                                    <li><a href="#" class="product-size"><span>L</span></a></li>
                                                    <li><a href="#" class="active product-size"><span>M</span></a></li>
                                                    <li><a href="#" class="product-size"><span>S</span></a></li>
                                                </ul>
                                            </li>
                                            <li class="quantity-group group">
                                                <span class="list-heading">数量:</span>
                                                <div class="product-quantity">
                                                    <span class="minus"><img src="assets/img/icons/minus.svg" class="svg" alt=""></span>
                                                    <input type="text" value="0" class="product-quantity-list product-size">
                                                    <span class="plus"><img src="assets/img/icons/plus.svg" class="svg" alt=""></span>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                   <!-- 列表产品组结束 -->

                                   <!-- 产品细节btn -->
                                    <div class="product-details-btns">
                                        <div class="addto-bag-btn">
                                            <a href="#" class="btn btn-fill-type">
                                                <span><img src="assets/img/icons/add-bag.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0">加入购物车</span>
                                            </a>
                                        </div>
                                         <div class="wish-btn">
                                            <a href="#" class="btn btn-fill-type">
                                                <span class=""><img src="assets/img/icons/wishlist.svg" alt="" class="svg"></span><span class="d-none d-lg-block mr-0"></span>
                                            </a>
                                        </div>
                                        <div class="compare-btn">
                                            <a href="#" class="btn btn-fill-type">
                                                <span><img src="assets/img/icons/compare.svg" alt="" class="svg"></span>
                                            </a>
                                        </div>
                                    </div>
                                     <!-- 产品细节btn -->
    

                                    <!--更多的细节 -->
                                    <div class="more-details-button">
                                        <a href="shop-details.html" class="btn btn-line roboto">更多的细节</a>
                                    </div>
                                    <!-- 更多细节结束 -->

                                     <!-- 产品马塔-->
                                    <div class="product_meta item-product-meta-info">
                                        <span class="sku_wrapper">
                                            <label>
                                                库存单位:
                                                <span>N/A</span>
                                            </label>
                                        </span>
                                        <span class="posted_in">
                                            <span class="meta-item-list">
                                                <a href="#">附件</a>,
                                                 <a href="#">时尚</a>,
                                                <a href="#">夏季</a>
                                            </span>
                                        </span>
                                    </div>
                                    <!-- 成品mata -->
                                </div>
                                 <!-- 产品信息结束 -->
                            </div>
                            <!-- 产品细节结束内页 -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div> 
     <!--模态快速视图结束-->

     <!-- 添加添加到购物车通知 -->
    <div class="modal-add-notifacition">
        <div class="add-notifacition-inner media align-items-center">
            <div class="add-noti-image">
                <img src="assets/img/product/add-note.jpg" alt="">
            </div>
            <div class="add-noti-text media-body">
                <span>雅马哈木吉他</span>
                <p>添加到您的购物车成功!</p>
            </div>
        </div>
    </div>
    <!-- 添加添加到购物车通知 -->
    
        <!-- 添加添加到购物车通知 -->
    <div class="modal-wish-notifacition">
        <div class="wish-notifacition-inner media align-items-center">
            <div class="wish-noti-image">
                <img src="assets/img/product/add-note.jpg" alt="">
            </div>
            <div class="wish-noti-text media-body">
                <span>雅马哈木吉他</span>
                <p>添加到您的购物车成功!</p>
            </div>
        </div>
    </div>
    <!-- 添加添加到购物车通知 -->

    
        <!-- JS Files -->
       <!-- ==== JQuery 3.3.1 js file==== -->
    <script src="assets/js/jquery-3.3.1.min.js"></script>
    <script src="assets/js/bootstrap.bundle.min.js"></script>
    <script src="assets/plugins/waypoints/jquery.waypoints.min.js"></script>
    <script src="assets/plugins/parsley/parsley.min.js"></script>
    <script src="assets/plugins/retinajs/retina.min.js"></script>
    <script src="assets/plugins/parallax/parallax.js"></script>
    <script src="assets/plugins/parallax/parallaxh.min.js"></script>
    <script src="assets/plugins/owl-carousel/owl.carousel.min.js"></script>
    <script src="assets/plugins/Magnific-Popup/jquery.magnific-popup.min.js"></script>
    <script src="assets/plugins/waypoints/jquery.counterup.min.js"></script>
    <script src="assets/plugins/isotope/packery.pkgd.min.js"></script>
    <script src="assets/plugins/swiper/swiper.min.js"></script>
    <script src="assets/plugins/countdown/jquery.countdown.min.js"></script>
    <script src="assets/plugins/Magnific-Popup/jquery.elevateZoom-3.0.8.min.js"></script>
    <script src="assets/plugins/tweenmax/TweenMax.min.js"></script>
    <script src="assets/plugins/text-animation/anime.min.js"></script>
    <script src="http://ditu.google.cn/maps/api/js?key=AIzaSyB2D8wrWMY3XZnuHO6C31uq90JiuaFzGws"></script>
    <script src="assets/js/scripts.js"></script>
    <script src="assets/js/custom.js"></script>
</body>
</html>